/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package dockingws;

import javax.jws.WebService;
import javax.jws.WebMethod;
import javax.jws.WebParam;

/**
 *
 * @author dttung
 */
@WebService(serviceName = "dockingws")
public class dockingws {

    

    /**
     * Web service operation
     */
    @WebMethod(operationName = "getProjectInfoWaiting")
    public int getProjectInfoWaiting(@WebParam(name = "projectID") int projectID) {
        //TODO write your implementation code here:
        return 10;
    }

    /**
     * Web service operation
     */
    @WebMethod(operationName = "getProjectInfoRunning")
    public int getProjectInfoRunning(@WebParam(name = "projectID") int projectID) {
        //TODO write your implementation code here:
        return 20;
    }

    /**
     * Web service operation
     */
    @WebMethod(operationName = "getProjectInfoCompleted")
    public int getProjectInfoCompleted(@WebParam(name = "projectID") int projectID) {
        //TODO write your implementation code here:
        return 30;
    }

    /**
     * Web service operation
     */
    @WebMethod(operationName = "getProjectInfoFailed")
    public int getProjectInfoFailed(@WebParam(name = "projectID") int projectID) {
        //TODO write your implementation code here:
        return 5;
    }

    /**
     * Web service operation
     */
    @WebMethod(operationName = "getOutput")
    public String getOutput(@WebParam(name = "projectID") int projectID) {
        //TODO write your implementation code here:
        return "/output/docking.txt";
    }

    /**
     * Web service operation
     */
    @WebMethod(operationName = "submit_project")
    public int submit_project(@WebParam(name = "protein_ID") String protein_ID, @WebParam(name = "list_ligand_filename") String list_ligand_filename, @WebParam(name = "center_X") float center_X, @WebParam(name = "center_Y") float center_Y, @WebParam(name = "center_Z") float center_Z, @WebParam(name = "sizeX") float sizeX, @WebParam(name = "sizeY") float sizeY, @WebParam(name = "sizeZ") float sizeZ, @WebParam(name = "docking_parameter_filename") String docking_parameter_filename) {
        //TODO write your implementation code here:
        return 100;
    }
}
